﻿<UserControl x:Class="HOG.Controls.Hud"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:cust="clr-namespace:BaseControls;assembly=BaseControls"
    xmlns:hog="clr-namespace:HOG.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:beh="clr-namespace:HOG.Behaviors"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
    mc:Ignorable="d">
    <Canvas x:Name="Interface" Opacity="1">
        <Canvas.RenderTransform>
            <TransformGroup>
                <ScaleTransform/>
                <SkewTransform/>
                <RotateTransform/>
                <TranslateTransform/>
            </TransformGroup>
        </Canvas.RenderTransform>
        <Canvas Canvas.Top="440" Canvas.Left="132" Clip="M-12,-7.1054274E-15 L748,-3.5527137E-15 L748,160 L-12,160 z">
            <Image Height="475" Width="754" Source="/HOG;Component/Images/Interface/Kartka.png" Stretch="Fill" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto" Canvas.Top="-16">
                <Image.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform Angle="3.69"/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Image.RenderTransform>
            </Image>
        </Canvas>
        <hog:ItemsList x:Name="FindList" Background="Transparent" BorderThickness="0" Canvas.Left="213"  Canvas.Top="490" Height="110" Width="660" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto" >
            <hog:ItemsList.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform Angle="0.268"/>
                    <TranslateTransform/>
                </TransformGroup>
            </hog:ItemsList.RenderTransform>
        </hog:ItemsList>
        <cust:Clock x:Name="clock" Height="196" Width="153" Canvas.Top="404" RenderTransformOrigin="0.484,0.531" Canvas.Left="-1">
            <cust:Clock.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </cust:Clock.RenderTransform>
        </cust:Clock>
        <!--<Button Height="54" x:Name="GameOptions" Style="{StaticResource ButtonHOGStyle}" Width="81" RenderTransformOrigin="0.491,0.474" Content="Menu" Background="#FF323232" FontFamily="Arial Black" FontSize="21.333" FontWeight="Bold" Canvas.Left="132" Canvas.Top="524">
                <Button.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="0.7" ScaleY="0.7"/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform X="0.218" Y="0.421"/>
                    </TransformGroup>
                </Button.RenderTransform>
            </Button>-->
        <Button Height="54" x:Name="GamePause" Style="{StaticResource ButtonHOGStyle}" Width="81" RenderTransformOrigin="0.632,-0.003" Content="Pause" Background="#FF323232" FontFamily="Arial Black" FontSize="21.333" FontWeight="Bold" Canvas.Left="132" Canvas.Top="484">
            <Button.RenderTransform>
                <TransformGroup>
                    <ScaleTransform ScaleX="0.7" ScaleY="0.7"/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform X="-3.207" Y="8.148"/>
                </TransformGroup>
            </Button.RenderTransform>
            <i:Interaction.Triggers>
                <i:EventTrigger EventName="Click">
                    <beh:PauseBehavior />
                </i:EventTrigger>
            </i:Interaction.Triggers>
        </Button>
    </Canvas>
</UserControl>
